package com.wang.gulimall.product;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

@EnableRedisHttpSession//启用spring session
@EnableFeignClients(basePackages = "com.wang.gulimall.product.feign")//在哪个接口开启了远程调用的功能
@EnableDiscoveryClient//开启服务的注册发现
@SpringBootApplication
@EnableCaching
public class GulimallProductApplication10000 {

    public static void main(String[] args) {
        SpringApplication.run(GulimallProductApplication10000.class, args);
    }

}


